#!python
from server import doRunServer
from client import doClientCommand

def main(argv = None):
    if argv is None:
        from sys import argv

    # Analyze Server or Client Startup Mode.
    if not doClientCommand(*argv):
        doRunServer(*argv)

if __name__ == '__main__':
    main()
